import HeaderBack from "@/components/HeaderBack";
import { getTranslations } from "next-intl/server";
import { ReactNode } from "react";
export const generateMetadata = async () => {
    const t = await getTranslations("titles");
    return {
        title: t("about"),
    };
};
export default async function Layout({
    children,
    params: { locale },
}: {
    children: ReactNode;
    params: { locale: string };
}) {
    return (
        <>
            <HeaderBack showBack={true} />
            <main className={"main-header bg-[#282828]"}>{children}</main>
        </>
    );
}
